package net.bwie.vehicle.dws.utils;

import ch.hsr.geohash.GeoHash;

import java.io.Serializable;

public class GeoHashUdf implements Serializable {
  public static String getGeoHash(double lat, double lon)
  {
    GeoHash geoHash = GeoHash.withCharacterPrecision(lat, lon, 6);
    return geoHash.toBase32();
  }

}
